/*
 * @Author: zhangguowei 974599791@qq.com
 * @Date: 2022-08-26 17:06:51
 * @LastEditors: zhangguowei 974599791@qq.com
 * @LastEditTime: 2022-08-29 13:48:25
 * @Description: 通用接口
 */

import { useAxios } from "@/hooks";
const { getfn, postfn } = useAxios();
import { reqOne, resOne } from "./type";

const getUserApi = getfn<reqOne, resOne>("/user/userList", {
  baseURL: "/zgv/user/",
});

export { getUserApi };
